pygrub: add debug flag
authorGuido Gunther <agx@sigxcpu.org>
Tue, 11 Oct 2011 11:02:58 +0000 (12:02 +0100)
committerGuido Gunther <agx@sigxcpu.org>
Tue, 11 Oct 2011 11:02:58 +0000 (12:02 +0100)
commitd3d8d54b13794f9ea5a2b265dd9ce11981b3d8a6
treed842090bb4ccee2e514575c9a720c1127c8335b3
parent62530296c71a6572e6ae82ffe3a309ab6540d53a
pygrub: add debug flag

Debugging config file errors is tedious so help a bit by not silently
dropping parsing exceptions when --debug is given. Also intialize the
logging API at debug level in this case.

Signed-off-by: Guido Gunther <agx@sigxcpu.org>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/pygrub/src/pygrub